{% extends 'base.html' %}

{% block main %}
<!--博客页 -->
        <div class="page-content">
            <section id="blog" class="content-section">
                <div class="section-heading">
                    <h1 class="entry-title">{{ post.title }}</h1>
                    <div class="entry-meta">
                        <span class="post-category"><a href="#">{{ post.category.name }}</a></span>
                        <span class="post-date"><a href="#">
                            <time class="entry-date" datetime="{{ post.created_time }}">{{ post.created_time }}</time></a></span>
                        <span class="post-author"><a href="#">{{ post.author }}</a></span>
                        <span class="comments-link"><a href="#">4 评论</a></span>
                        <span class="views-count"><a href="#">588 阅读</a></span>
                    </div>
                </div>
                <div class="section-content">
                    <div class="tabs-content">
                        <div class="wrapper">
                            <section id="first-tab-group" class="tabgroup">
                                <article class="post post-{{ post.pk }}">
                                    <p class="body-font">
                                        {{ post.body|safe }}
                                    </p>
                                </article>
                            </section>
                        </div>
                    </div>
                </div>
            </section>
        </div>
{% endblock main %}